package com.wanghengzhi.design.patterns.facade;

public class ModuleFacade {

    private final ModuleA moduleA = new ModuleA();
    private final ModuleB moduleB = new ModuleB();
    private final ModuleC moduleC = new ModuleC();

    public void aM1() {
        moduleA.m1();
    }

    public void bM1() {
        moduleB.m1();
    }


    public void cM2() {
        moduleC.m2();
    }

    public void abcM1() {
        moduleA.m1();
        moduleB.m1();
        moduleC.m1();
    }
}
